package distributed.entity;

/**
 * Entity code for the handling of Choices (Lines) for an event
 * @author Marcus Menghini
 *
 */
public class Choice {
	/** The choice that this object represents */
	String choice;
	
	/** The index of this choice */
	int index;
	
	/**
	 * @param pos integer with the horizontal position of the choice.
	 */
	public Choice(int pos) {
		this.index = pos;
	}

	/**
	 * @param choice a string with the name of this choice.
	 */
	public void setChoice(String choice) {
		this.choice = choice;
	}

	/**
	 * @return choice returns the name of the choice.
	 */
	public String getChoice() {
		return choice;
	}
	
}
